<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        div {
            width: 100px;
            height: 100px;
            background-color: darkseagreen
        }
        
        a {
            width: 100px;
            height: 30px;
            background-color: darkslategray;
            display: inline-block;
        }
    </style>
</head>

<body>
    <!-- div默认块纵向排列 超链接默认按行排列 -->
    <div>div1</div>
    <div>div2</div>
    <div>div3</div>
    <a href="">link1</a>
    <a href="">link2</a>
    <a href="">link3</a>
</body>

</html>